Fox's Git Mirrors
scripts/ci/install-git-hooks.sh 201d27032fbc0af2fd0a560de603cd8786ee75b5 (201d2703) Text, 292 B
#!/bin/sh
# Point this clone at .githooks/ (tracked git hooks).
set -eu
ROOT="$(CDPATH='' cd -- "$(dirname "$0")/../.." && pwd)"
cd "$ROOT"
git config core.hooksPath .githooks
chmod +x .githooks/pre-commit scripts/ci/pre-commit-lint.sh
echo "install-git-hooks.sh: core.hooksPath=.githooks"
Served by rngit 1.5.2 - Generated in 0.02s